package com.qfedu.wfx.manager.service.Impl;

import com.qfedu.wfx.manager.dao.ModuleDAO;
import com.qfedu.wfx.manager.pojos.ParentModule;
import com.qfedu.wfx.manager.service.IModule;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ModuleServiceImpl implements IModule {

    @Autowired
    private ModuleDAO moduleDAO;

    @Override
    public List<ParentModule> listModels(String account) {
        return moduleDAO.listModels(account);
    }
}
